package com.example.demo.service;

import com.example.demo.entity.Project;
import com.example.demo.utils.PageInfoNew;

import java.util.List;

public interface ProjectService {
    int insertProject(Project project);

    int updateProject(Project project);

    int deleteById(int projectId);

    PageInfoNew<Project> finAllWithPage(int pageNum, int pageSize);

    List<Project> findById(int projectId);

    List<Project> findAllProject();

    List<Project> findByName(String projectName);
}
